package com.totowoo.shirodemo.util;

import org.apache.shiro.crypto.hash.SimpleHash;

public class MyTools {
	public static void main(String[] args) {
		String algorithmName = "MD5";
		
		String source = "123456";
		String salt = null;
		int hashIterations = 1024;
		
		Object rs = new SimpleHash(algorithmName, source, salt, hashIterations);
		
		System.out.println(rs);
	}
}
